package com.daka.tools.wechatPay;

import com.alibaba.fastjson.JSON;

/**
 * 
 * @author jayli
 *
 */
public class JsonUtil {
    
    private JsonUtil() {
    }
    
    public static <T> T parseObject(String json, Class<T> clazz) {
        return JSON.parseObject(json, clazz);
    }
    
    public static String toJSONString(Object object) {
        return JSON.toJSONString(object);
    }
}
